﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="head_edit.ascx.cs" Inherits="He.Web.manage._uc.head_edit" %>
<script src="../js/jquery.form.js" type="text/javascript"></script>
<script src="../js/jquery.validate.min.js" type="text/javascript"></script>
<script src="../js/messages_cn.js" type="text/javascript"></script>
<script type="text/javascript" src="../../editor/kindeditor.js" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8" src="../js/kindeditor_load.js"></script>
<script type="text/javascript">
    $(function () {
        //表单验证JS
        $("#form1").validate({
            //出错时添加的标签
            errorElement: "span",
            success: function (label) {
                //正确时的样式
                label.text(" ").addClass("success");
            }
        });
        //显示关闭高级选项
        $("#upordown").click(function () {
            if ($(this).hasClass("up-01")) {
                $(this).text("显示高级选项");
                $(this).removeClass();
                $(this).addClass("up-02");
                $(".upordown").hide();
            }
            else {
                $(this).text("关闭高级选项");
                $(this).removeClass();
                $(this).addClass("up-01");
                $(".upordown").show();
            }
        });
    })
</script>
